package com.lglbc.decorator;

/**
 * @author： 乐哥聊编程(全平台同号)
 * @date: 2022/5/22
 */
public abstract class Decorator implements Component{
    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void execute() {
        component.execute();
    }
}
